using System;
using System.Collections.Generic;

[Serializable]
public class prefilter_class
{
	public string filter_text;

	public bool foldout;

	public List<int> filter_index;

	public bool filters_active;

	public bool filters_foldout;

	public prefilter_class()
	{
		filter_text = "Filter (1)";
		foldout = true;
		filter_index = new List<int>();
		filters_active = true;
		filters_foldout = true;
	}

	public void set_filter_text()
	{
		if (filter_index.Count < 2)
		{
			filter_text = "Filter (" + filter_index.Count + ")";
		}
		else
		{
			filter_text = "Filters (" + filter_index.Count + ")";
		}
	}
}
